package com.example.samplelisttest2;

import android.content.Context;
import android.graphics.Bitmap;
import android.view.LayoutInflater;
import android.widget.FrameLayout;
import android.widget.ImageView;
import android.widget.TextView;

public class MyImgView extends FrameLayout {
	ImageView imageView;
	public MyImgView(Context context) {
		super(context);
		LayoutInflater inflater = LayoutInflater.from(context);
		inflater.inflate(R.layout.my_img_view, this);
		imageView = (ImageView)findViewById(R.id.imageView1);
	}
	public void setData(MyData data) {
		imageView.setImageBitmap(data.bm);
	}
}
